package com.itheima.pojo.client;

/**
 * @author ChenJunJie
 * @date 2022/6/19 10:18
 * 用户新增类
 */
public class AddUserDto {
    /**
     * 用户id
     */
    private String id;
    /**
     * 用户手机号
     */
    private String phone;
    /**
     * 用户名
     */
    private String username;

    public AddUserDto() {
    }

    public AddUserDto(String id, String phone, String username) {
        this.id = id;
        this.phone = phone;
        this.username = username;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "AddUserDto{" +
                "id='" + id + '\'' +
                ", phone='" + phone + '\'' +
                ", username='" + username + '\'' +
                '}';
    }
}
